package com.bc5Neptune.cis.android;

//import java.io.IOException;
//import java.net.Socket;
//import java.net.UnknownHostException;
import java.io.IOException;
import java.net.Socket;
import java.net.UnknownHostException;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.Statement;

import android.app.Activity;
//import android.app.AlertDialog;
import android.content.Intent;
import android.database.SQLException;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.TextView;

public class CIS_SProjectR3Activity extends Activity implements OnClickListener {
	/** Called when the activity is first created. */
	Button btnStr;
	//TextView txViewIP;
	//TextView txViewPort;
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);
		//txViewIP = (TextView) findViewById(R.id.txvIP);
		//txViewPort = (TextView) findViewById(R.id.txvPort);
		btnStr = (Button) findViewById(R.id.btnStart);
		btnStr.setOnClickListener(this);
	}

	public void onClick(View v) {
		// TODO Auto-generated method stub
		Intent it = new Intent(getApplicationContext(),
				BrowseImageActivity.class);
		//Bundle b = new Bundle();
		//b.putString("1",txViewIP.getText().toString());
		//b.putInt("2",Integer.parseInt(txViewPort.getText().toString()));
		//it.putExtras(b);
		startActivity(it);
		finish();
	}
}
